package expe.one;

import java.util.Scanner;

public class Rg7193 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double f = scanner.nextDouble();
        System.out.printf("The temprature is %.2f", 5 * (f - 50) / 9 + 10);
    }
}
